package com.lsl.command_pattern.commandUndo;

/**
 * description:抽象命令类
 *
 * @author: liushengli
 * data: 2022/12/1
 */
public abstract class AbstractCommand {
    public abstract int execute(int value); //声明命令执行方法execute()

    public abstract int undo(); //声明撤销方法undo()
}
